<?php
require './Etag.php';
$etag = new dd\Etag();
$file_url = 'https://www.baidu.com/img/PCfb_5bf082d29588c07f842ccde3f97243ea.png';
//根据文件路径，生成文件的唯一hash
var_dump( $etag->sum( $file_url ) );
##Fto5o-5ea0sNMlW_75VgGJCv2AcJ
